package com.hospital.workstation.domain.bo;

import com.hospital.common.core.validate.AddGroup;
import com.hospital.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.hospital.common.core.domain.BaseEntity;

/**
 * 药品库存业务对象 his_medicine_storage
 *
 * @author whb
 * @date 2023-03-10
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class HisMedicineStorageBo extends BaseEntity {

    /**
     * 库存ID
     */
    // @NotNull(message = "库存ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 药品编号（药品在HIS中的唯一标志）
     */
    // @NotBlank(message = "药品编号", groups = { AddGroup.class, EditGroup.class })
    private String medicalCode;

    /**
     * 药品名称
     */
    // @NotBlank(message = "药品名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String medicineName;

    /**
     * 所在药房
     */
    // @NotBlank(message = "所在药房不能为空", groups = { AddGroup.class, EditGroup.class })
    private String medicineHouse;

    /**
     * 医保类型
     */
    // @NotBlank(message = "医保类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String medicalInsuranceDesc;

    /**
     * 是否基药
     */
    // @NotBlank(message = "是否基药不能为空", groups = { AddGroup.class, EditGroup.class })
    private String isBaseMedicine;

    /**
     * 集采批次
     */
    // @NotBlank(message = "集采批次不能为空", groups = { AddGroup.class, EditGroup.class })
    private String purchaseBatch;

    /**
     * 药品规格
     */
    // @NotBlank(message = "药品规格不能为空", groups = { AddGroup.class, EditGroup.class })
    private String medicineSpec;

    /**
     * 计量单位
     */
    // @NotBlank(message = "计量单位不能为空", groups = { AddGroup.class, EditGroup.class })
    private String meterUnit;

    /**
     * 生产厂家
     */
    // @NotBlank(message = "生产厂家不能为空", groups = { AddGroup.class, EditGroup.class })
    private String productFactory;

    /**
     * 零售价格
     */
    // @NotBlank(message = "零售价格不能为空", groups = { AddGroup.class, EditGroup.class })
    private String medicinePrice;

    /**
     * 库存数量
     */
    // @NotBlank(message = "库存数量不能为空", groups = { AddGroup.class, EditGroup.class })
    private String medicineAmount;

    /**
     * 药品名称首字母缩写
     */
    // @NotBlank(message = "药品名称首字母缩写不能为空", groups = { AddGroup.class, EditGroup.class })
    private String medicineFirstSpell;


}
